class_name PlayerStateData

var shot_direction: Vector2
var pass_target: Player
var shot_power: float
var hurt_direction: Vector2

static func build() -> PlayerStateData:
	return PlayerStateData.new()

func set_shot_direction(direction: Vector2) -> PlayerStateData:
	shot_direction = direction
	return self

func set_shot_power(power: float) -> PlayerStateData:
	shot_power = power
	return self

func set_hurt_direction(context_hurt_direction: Vector2) -> PlayerStateData:
	hurt_direction = context_hurt_direction
	return self

func set_pass_target(target: Player) -> PlayerStateData:
	pass_target = target
	return self
